<template>
	<view class="content">
		<view class="place-pay">
			<view class="place-pay-tp">
				<view class="place-pay-name iconfont icon-weixinzhifu">
					<text>微信支付</text>
				</view>
				<view class="place-pay-radio">
					<radio></radio>
				</view>
			</view>
			<view class="place-pay-bot">
				<view class="place-pay-name iconfont icon-yue">
					<text>账号余额</text>
					<text>余额0元</text>
				</view>
				<view class="place-pay-radio">
					<radio></radio>
				</view>
			</view>
		</view>
		
		<view class="place-addr iconfont">
<!-- 			
			<view class="place-name1">
				<text>请选择地址</text>
			</view>
-->
			<view class="place-name">
				<text>张三</text>
				<text>13333333333</text>
			</view>
			<view class="place-addr-con">
				<text>山西省太原市小店区平阳路22号</text>
			</view>
		</view>
		
		<view class="tech-eva-con">
				<view class="service">
					<view class="ser-img" style="background-image: url(../../static/server1.jpg);"></view>
					<view class="ser-con">
						<view class="ser-tit">
							<text>男士职业装</text>
							<text>x1</text>
						</view>
						<view class="ser-des">规格：XXL</view>
						<view class="ser-pri">
							<view class="ser-pri-lf">
								<text></text>
								<text>688</text>
								<text></text>
							</view>
						</view>
					</view>
				</view>
				
				<view class="service">
					<view class="ser-img" style="background-image: url(../../static/server2.jpg);"></view>
					<view class="ser-con">
						<view class="ser-tit">
							<text>工牌</text>
							<text>x2</text>
						</view>
						<view class="ser-des">规格：30cm</view>
						<view class="ser-pri">
							<view class="ser-pri-lf">
								<text></text>
								<text>688</text>
								<text></text>
							</view>
						</view>
					</view>
				</view>
		</view>

		<view class="place-time">
			<view class="place-time-bt">
				<view class="place-time-name">快递费用</view>
				<view class="place-time-con">
					<text>￥10.00</text>
				</view>
			</view>
		</view>

		<view class="place-rem">
			<view class="place-rem-tit">
				<text>订单备注</text>
				<text>（选填）</text>
			</view>
			<view class="place-rem-con">
				<textarea placeholder="输入订单备注"></textarea>
			</view>
		</view>
		
		<view class="place-pay">
			<view class="place-pay-tp">
				<view class="place-pay-name iconfont icon-weixinzhifu">
					<text>微信支付</text>
				</view>
				<view class="place-pay-radio">
					<radio></radio>
				</view>
			</view>
			<view class="place-pay-bot">
				<view class="place-pay-name iconfont icon-yue">
					<text>账号余额</text>
					<text>余额0元</text>
				</view>
				<view class="place-pay-radio">
					<radio></radio>
				</view>
			</view>
		</view>

		<view class="h110"></view>

		<view class="tech-order">
			<view class="tech-price">
				<text>合计：</text>
				<text>￥2888</text>
			</view>
			<view class="tech-btn">
				<text>立即支付</text>
			</view>
		</view>
	
	</view>
</template>
<script>
export default {
    data() {
        return {
			index: -1,
			picker: ['太原市', '北京市', '上海市']
        }
    },
    methods: {
		goTimeselect(){
	        uni.navigateTo({
	            url: '/pages/timeselect/timeselect'
	        })
	    }
    }
}

</script>
<style lang="scss">
page{
	background-color: $uni-bg-color-grey;
}
/* radio 选中后的样式 */
/deep/.uni-radio-input-checked{
	background-color: rgb(36,201,107)!important;
	border-color: rgb(36,201,107)!important;
	background-clip: content-box!important;
	box-sizing: border-box;
}
.content{
	.tech-order{
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1;
		padding: 30rpx;
		display: flex;
		justify-content: space-between;
		border-top:1px solid #eee;
		background-color: #fff;
		.tech-price{
			text{
				font-size:28rpx;
				&:last-child{
					font-weight: bold;
					color: #ff0000;
				}
			}
		}
		.tech-btn{
			text{
				padding:10rpx 30rpx;
				color: #fff;
				font-size:28rpx;
				border-radius:30rpx;
				background-color:$uni-text-color-active;
			}
		}
	}
	.place-agree{
		margin:30rpx 20rpx;
		padding:30rpx;
		background-color: #fff;
		border-radius: 20rpx;
		font-size: 28rpx;
		radio{
			transform: scale(0.7);
		}
		text{
			color:$uni-text-color-active;
		}
	}
	.place-pay{
		margin:30rpx 20rpx;
		padding:30rpx;
		background-color: #fff;
		border-radius: 20rpx;
		.place-pay-tp{
			height: 60rpx;
			line-height: 60rpx;
			display: flex;
			border-bottom:1px solid #eee;
			padding-bottom:10rpx;
			margin-bottom:10rpx;
			.place-pay-name{
				flex:2;
				font-size:28rpx;
				position: relative;
				&::before{
					font-size:50rpx;
					position: absolute;
					top:0;
					color:$uni-text-color-active;
				}
				text{
					margin-left:60rpx;
				}
			}
			.place-pay-radio{
				flex: 1;
				text-align: right;
				transform: scale(0.7);
			}
		}
		.place-pay-bot{
			height: 60rpx;
			line-height: 60rpx;
			display: flex;
			.place-pay-name{
				flex:2;
				font-size:28rpx;
				position: relative;
				&::before{
					font-size:45rpx;
					position: absolute;
					top:0;
					color:$uni-text-color-active;
				}
				text{
					&:first-child{
						margin-left:60rpx;
					}
					&:last-child{
						font-size:24rpx;
						margin-left:10rpx;
						color: $uni-text-color-grey;
					}
				}
			}
			.place-pay-radio{
				flex: 1;
				text-align: right;
				transform: scale(0.7);
			}
		}
	}
	.place-rem{
		margin:30rpx 20rpx;
		padding:30rpx;
		background-color: #fff;
		border-radius: 20rpx;
		.place-rem-tit{
			font-size: 28rpx;
			margin-bottom: 20rpx;
			text{
				&:first-child{
					font-weight: bold;
				}
				&:last-child{
					font-size: 24rpx;
					color: $uni-text-color-grey;
				}
			}
		}
		.place-rem-con{
			display: flex;
			textarea{
				flex: 1;
				border-radius: 20rpx;
				font-size: 28rpx;
				padding: 20rpx;
				background-color:rgba(0, 0, 0, 0.05);
			}
		}
	}
	.place-time{
		margin:30rpx 20rpx;
		padding:30rpx;
		background-color: #fff;
		border-radius: 20rpx;
		.place-time-tp{
			height: 60rpx;
			line-height: 60rpx;
			display: flex;
			border-bottom:1px solid #eee;
			padding-bottom:10rpx;
			margin-bottom:10rpx;
			.place-time-name{
				flex: 1;
				font-size:28rpx;
				font-weight: bold;
			}
			.place-time-con{
				flex: 2;
				text-align: right;
				vertical-align: middle;
				text{
					&:first-child{
						font-size:28rpx;
						color: $uni-text-color-grey;
					}
					&.place-coupon{
						color: #ff0000;
					}
				}
			}
		}
		.place-time-bt{
			height: 60rpx;
			line-height: 60rpx;
			display: flex;
			.place-time-name{
				flex: 1;
				font-size:28rpx;
				font-weight: bold;
			}
			.place-time-con{
				flex: 2;
				text-align: right;
				text{
					&:first-child{
						font-size:28rpx;
						color:#ff0000;
					}
				}
				label{
					font-size: 28rpx;
					radio{
						transform: scale(0.7);
					}				
				}

			}
		}
		.place-km{
			margin-top:10rpx;
			font-size: 24rpx;
			color: $uni-text-color-grey;
		}
	}
	.place-addr{
		margin:30rpx 20rpx;
		padding:30rpx 70rpx 30rpx 80rpx;
		background-color: #fff;
		border-radius: 20rpx;
		position: relative;
		&::before{
			position: absolute;
			left:20rpx;
			top:31%;
			content:'\e600';
			font-size:40rpx;
			color: $uni-text-color-active;
		}
		&::after{
			position: absolute;
			right:30rpx;
			top:31%;
			content:'\e88e';
			font-size:40rpx;
		}
		.place-name1{
			text{
				font-size:30rpx;
				font-weight: bold;
			}
		}
		.place-name{
			margin-bottom: 0.3rem;
			text{
				&:first-child{
					font-size:30rpx;
					font-weight: bold;
				}	
				&:last-child{
					margin-left: 20rpx;
					font-size:28rpx;
					color: rgb(119,119,119);
				}			
			}
		}
		.place-addr-con{
			font-size:28rpx;
		}
	}
	.tech-con{
		margin:30rpx 20rpx;
		padding:30rpx;
		background-color: #fff;
		border-radius: 20rpx;
		box-shadow: rgba(0, 0, 0, 0.1) 0 12rpx 12rpx;
		.tech-con-tp{
			display: flex;
			.tech-img{
				width:120rpx;
				height:120rpx;
				border-radius:50%;
				overflow: hidden;
				margin-right: 20rpx;
				image{
					width: 100%;
				}
			}
			.tech-int{
				flex:1;
				.tech-name{
					display: flex;
					flex: 2;
					.tech-photo{
						flex: 2;
						text{
							&:first-child{
								font-size: 32rpx;
								font-weight: bold;
								margin-right: 20rpx;
							}
							&:last-child{
								padding: 4rpx 8rpx;
								font-size:24rpx;
								border-radius: 10rpx;
								color: $uni-text-color-active;
								border:1px solid $uni-text-color-active;
							}
						}						
					}
					.tech-time{
						flex: 1.5;
						text-align: right;
						text{
							color: rgb(119,119,119);
							font-size: 24rpx;
							&:last-child{
								margin-left:4rpx;
								padding: 0 6rpx;
								color: $uni-text-color-active;
								background-color:#e3fffd;
								font-weight: bold;
							}
						}
					}
				}
				.tech-col{
					margin:16rpx 0;
					display: flex;
					justify-content: space-between;
					font-size: 28rpx;
					.tech-col-lf{
						text{
							&:first-child{
								color:#fb8100;
								margin-right:20rpx;
							}
						}
					}
					.tech-col-rt{
						text{
							font-size: 28rpx;
							&:before{
								color: $uni-text-color-active;
							}
						}
					}
				}
			}
		}
		.tech-con-bot{
			margin-top:20rpx;
			display: flex;
			.tech-state{
				width: 120rpx;
				text-align: center;
				margin-right: 20rpx;
				text{
					padding: 2rpx 16rpx;
					border-radius:20rpx;
					color: #fff;
					background-color: $uni-text-color-active;
					font-size:24rpx;
					&.tech-ser{
						background-color: #ff0000;
					}
				}
			}
			.tech-eva{
				display: flex;
				flex: 1;
				justify-content: space-between;
				.tech-eva-lf{
					text{
						color:rgb(119,119,119);
						font-size:28rpx;
						margin-right:18rpx;
						&.icon-xinheart118:before{
							color: $uni-text-color-active;
						}
					}
				}
				.tech-eva-rt{
					text{
						padding:6rpx 16rpx;
						border-radius:12rpx;
						color: #fff;
						background-color: $uni-text-color-active;
						font-size:28rpx;
					}
				}
			}
		}
	}

	.tech-eva-con{
		margin:30rpx 20rpx;
		border-radius:20rpx;
		padding:20rpx 30rpx;
		background-color: #fff;
		.tech-eva-int{
			display: flex;
			padding-bottom:30rpx;
			border-bottom: 1px solid #eee;
			.tech-eva-img{
				width:100rpx;
				height:100rpx;
				border-radius:50%;
				overflow: hidden;
				margin-right: 20rpx;
				image{
					width: 100%;
				}
			}
			.tech-eva-rec{
				flex: 1;
				.tech-eva-tit{
					margin-bottom:10rpx;
					text{
						&:first-child{
							font-size: 32rpx;
							margin-right: 10rpx;
						}
						&:last-child{
							font-size:28rpx;
							color:rgb(119,119,119);
						}
					}
				}
				.tech-eva-des{
					font-size:24rpx;
					color:rgb(119,119,119);
				}
			}
		}
		.tech-eva-int1{
			display: flex;
			padding:30rpx 0;
			border-bottom: 1px solid #eee;
			.tech-eva-img1{
				width:60rpx;
				height:60rpx;
				border-radius:50%;
				overflow: hidden;
				margin-right: 20rpx;
				image{
					width: 100%;
				}
			}
			.tech-eva-rec1{
				flex: 1;
				.tech-eva-tit1{
					display: flex;
					margin-bottom:10rpx;
					justify-content: space-between;
					.tech-eva-tit-lf{
						text{
							&:first-child{
								font-size:28rpx;
								margin-right: 10rpx;
							}
							&.icon-xingxing{
								font-size:28rpx;
								color:#fb8100;
							}
						}							
					}
					.tech-eva-time{
						font-size: 24rpx;
						color:rgb(119,119,119);
						margin-top: 10rpx;
					}
				}
				.tech-eva-des1{
					font-size:28rpx;
					color:rgb(119,119,119);
					.tech-eva-tag{
						text{
							display: inline-block;
							font-size: 24rpx;
							border-radius: 20rpx;
							padding:6rpx 15rpx;
							margin:10rpx 10rpx 0 0;
							background-color:#eee;
						}
					}
					.tech-eva-des2{
						margin-top: 20rpx;
						font-size: 24rpx;
					}
				}
			}
		}
		.service{
			display: flex;
			padding:30rpx 10rpx;
			border-bottom:1px solid #eee;
			&:last-child{
				border-bottom:none;
			}
			.ser-img{
				width:160rpx;
				height:160rpx;
				border-radius: 14rpx;
				background-position:50%;
				background-repeat:no-repeat;
				background-size: cover;
				margin-right: 20rpx;
			}
			.ser-con{
				flex: 1;
				.ser-tit{
					display: flex;
					justify-content:space-between;
					text{
						&:first-child{
							font-weight: bold;
							font-size:30rpx;
						}
						&:last-child{
							font-size:24rpx;
							text-align: right;
							color: $uni-text-color-grey;
						}
					}
				}
				.ser-des{
					font-size:24rpx;
					color: $uni-text-color-grey;
					margin: 14rpx 0 18rpx;
				}
				.ser-pri{
					display: flex;
					.ser-pri-lf{
						flex: 2;
						text{
							&:first-child{
								padding: 0 6rpx;
								color:rgb(255,225,177);
								font-size:20rpx;
								background-color: #000;
								display: none;
							}
							&:nth-child(2){
								font-size:32rpx;
								font-weight: bold;
								color:#ff0000;
								&::before{
									content:"￥";
									font-weight: normal;
									font-size:24rpx;
								}
							}
							&:last-child{
								font-size:20rpx;
								text-decoration: line-through;
								color: $uni-text-color-grey;
							}
						}
					}
					.ser-pri-rt{
						flex: 1;
						text-align: right;
						text{
							&.icon-jianshao{
								font-size:34rpx;
								color: $uni-text-color-active;
							}
							&.num{
								margin: 0 20rpx;
								font-size:28rpx;
							}
							&.icon-node-add_fill{
								font-size:36rpx;
								color:$uni-text-color-active;
							}
						}
					}
				}
			}
		}
	}
	.detail-sel{
		padding: 20rpx;
		position:fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: #fff;
		text-align: center;
		.detail-btn{
			height:70rpx;
			line-height: 70rpx;
			border-radius: 35rpx;
			color: #fff;
			font-size: 28rpx;
			background-color:$uni-text-color-active;
		}
	}
	.h110{
		width: 100%;
		height:110rpx;
	}
}
</style>